package org.jjj.market.service.impl;

import org.jjj.market.domain.Activity;
import org.jjj.market.mapper.ActivityMapper;
import org.jjj.market.service.IActivityService;
import org.jjj.org.basic.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author jiangjianjun
 * @since 2022-10-24
 */
@Service
public class ActivityServiceImpl extends BaseServiceImpl<Activity> implements IActivityService {
@Autowired
private ActivityMapper activityMapper;
    @Override
    public List<Activity> getLegal() {
        return activityMapper.getLegalActivity();
    }
}
